package com.itheima.health.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户
 */
@Data
@TableName(value = "tb_user")
public class User22 implements Serializable{
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id; // 主键
    @TableField(value = "user_name")
    private String username; // 用户名，唯一
    private String password;
    private String name;
    private Integer age;
    private Integer sex;
    private String birthday;
}
